package com.hqj.service;


import com.hqj.entity.User;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import java.util.List;
@FeignClient("eureka-ribbon-8002")
//@FeignClient("eureka-ribbon")
public interface UserFeignService {

    @RequestMapping(value = "/uc/find",method = RequestMethod.POST)
    public List<String> find();

    @RequestMapping(value = "/uc/findUser")
    public List<User> findUser();

    @RequestMapping(value = "/uc/test",method = RequestMethod.GET)
    public String test();
}
